<template>
  <div class="dian">
      <Dson :dson="dian"></Dson>
  </div>
</template>

<script>
import instance from "../../../api/request"
import Dson from "./public-coms/Dson"
export default {
  name: "Dian",
  data() {
    return {
      dian: [],
    };
  },
  methods: {
    async fn_api() {
      let { data } = await instance.get("/index.json");
      this.dian = data.home.dian;
    },
  },
  created() {
    this.fn_api();
  },
  components:{
      Dson,
  }
};
</script>

<style lang="less" scoped>
.dian{
    background: rgb(255, 174, 153);
    padding: 0.16rem 0;
}
</style>